package com.mdd.admin.service;

import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.validate.DifferentiateCategoryCreateValidate;
import com.mdd.admin.validate.DifferentiateCategoryUpdateValidate;
import com.mdd.admin.validate.DifferentiateCategorySearchValidate;
import com.mdd.admin.vo.DifferentiateCategoryListedVo;
import com.mdd.admin.vo.DifferentiateCategoryDetailVo;
import com.mdd.common.core.PageResult;

/**
 * 【请填写功能名称】服务接口类
 * @author LikeAdmin
 */
public interface IDifferentiateCategoryService {

    /**
     * 【请填写功能名称】列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<DifferentiateCategoryListedVo>
     */
    PageResult<DifferentiateCategoryListedVo> list(PageValidate pageValidate, DifferentiateCategorySearchValidate searchValidate);

    /**
     * 【请填写功能名称】详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return DifferentiateCategoryDetailVo
     */
    DifferentiateCategoryDetailVo detail(String id);

    /**
     * 【请填写功能名称】新增
     *
     * @author LikeAdmin
     * @param createValidate 参数
     */
    void add(DifferentiateCategoryCreateValidate createValidate);

    /**
     * 【请填写功能名称】编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(DifferentiateCategoryUpdateValidate updateValidate);

    /**
     * 【请填写功能名称】删除
     *
     * @author LikeAdmin
     * @param id 主键ID
     */
    void del(String id);

}
